{% extends '/lenta/base.html' %}


{% block main_content %}

<div id="wrap">
	
	{% if tags %}
    <div id="tags">
        {% for t in tags %}
        <div class="tag">
          <span><a href="{{ notes_by_tag_href(t) }}">{{ t.name }}</a></span>
          <span>{{ t.counter }}</span>
          <span><a href="{{ edit_tag_href(t) }}">edit</a></span>
        </div>
        {% endfor %}
    </div>
    {% else %}
    <div>
    	No tags.
    </div>
    {% endif %}
</div>

{% endblock main_content %}